Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R4R]refactor reconnection #82

Merged
merged 1 commit into from
Aug 20, 2019
Merged

[R4R]refactor reconnection #82

merged 1 commit into from
Aug 20, 2019

Conversation

unclezoro
Copy link
Contributor

@unclezoro unclezoro commented Aug 16, 2019

Description

resolve #issue #83
To solve the reconnection failed when the network joggle in a sudden

Rationale

The issue is caused by readroutine and writeroutine working on different connection.

There could be a potential bug if still use state translate in WsClient. So decide to refactor the reconnection code, and new a WsClient and start it when needed.

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Preflight checks

  • build passed
  • e2e tests passed

Already reviewed by

...

Related issues

#83

@unclezoro unclezoro changed the title [WIP]refact reconnection [WIP]refactor reconnection Aug 16, 2019
@unclezoro unclezoro force-pushed the reconnection branch 3 times, most recently from f059af1 to a925602 Compare August 16, 2019 08:46
@unclezoro unclezoro changed the title [WIP]refactor reconnection [R4R]refactor reconnection Aug 16, 2019
@unclezoro unclezoro force-pushed the reconnection branch 5 times, most recently from e479d8e to 6209628 Compare August 16, 2019 12:02
@unclezoro unclezoro merged commit 29e8379 into master Aug 20, 2019
@unclezoro unclezoro deleted the reconnection branch April 20, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants